package com.alpesressources.comexpert.bo.response;

import com.alpesressources.comexpert.bo.IObject;

public class ResponseObject implements IObject {

	public enum EnumResult {
		OK("OK"), NOK("NOK");

		private String value;

		private EnumResult(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public static EnumResult fromString(String s) {
			for (EnumResult e : values()) {
				if (e.getValue().equals(s)) {
					return e;
				}
			}

			return null;
		}
	}

	private EnumResult result;

	public EnumResult getResult() {
		return result;
	}

	public void setResult(EnumResult result) {
		this.result = result;
	}

	@Override
	public String getConcatenation() {
		return null;
	}

}
